<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

	<form:form commandName="customerData">
		<table>
			<tr>
				<td>Name:</td>
				<td><form:input path="name" />
					<form:errors path="name" />
				</td>
			</tr>
			<tr>
				<td>Surname:</td>
				<td><form:input path="surname" />
					<form:errors path="surname" />
				</td>
			</tr>
			<tr>
				<td>Street/Door:</td>
				<td><form:input path="street" />
					<form:input path="doornumber" />
					<form:errors path="street" />
					<form:errors path="doornumber" />
				</td>
			</tr>
			<tr>
				<td>Zipcode:</td>
				<td><form:input path="zipcode" />
					<form:errors path="zipcode" />
				</td>
			</tr>
			<tr>
				<td>State:</td>
				<td><form:input path="state" />
					<form:errors path="state" />
				</td>
			</tr>
			<tr>
				<td>Password:</td>
				<td><form:input path="password" />
					<form:errors path="password" />
				</td>
			</tr>
			<tr>
				<td>Confirm your password:</td>
				<td><form:input path="passwordConfirmation" />
					<form:errors path="passwordConfirmation" />
				</td>
			</tr>
			<tr>
				<td colspan=2><input type="submit" name="_eventId_submit"
					value="Register" />
				</td>
			</tr>
		</table>
	</form:form>

</body>
</html>